package edu.hm.compiler.scanner;

import java.io.IOException;

import edu.hm.compiler.scanner.token.IToken;

/**
 * @author Saruman
 */
public interface IScanner
{

    /**
     * @return
     */
    IToken get() throws IOException;

    /**
     * @param token
     * @return
     */
    IScanner unget( IToken token );

    /**
     * @return
     */
    boolean hasNext();

}
